package com.sl.au.service;

import java.util.List;

import com.sl.au.entity.BussinessInspection;

public interface BussinessInspectionService {

	List<BussinessInspection> getPage(int start, int length, String key, String orderName, String dir);

	int getCount(String key);

	List<BussinessInspection> getInspections(int start, int length, String key, String orderName, String dir);

	List<BussinessInspection> getInspectionsByCheckId(int start, int length, String key, String orderName, String dir);

	void save(BussinessInspection bussinessInspection);

	void deleteById(String id);

	BussinessInspection findById(String id);

	void update(String id);

	List<BussinessInspection> findByIds(String inspectId);

	List<BussinessInspection> findByTimeAndUncheck(int start, int length, String key, String orderName, String dir);

	List<BussinessInspection> findByCheck(int start, int length, String key, String orderName, String dir);

}
